3beb77c673cae7390ecd61aaa226ca367895febd,src/main/java/com/continuuity/internal/app/services/DefaultAppFabricService.java,DefaultAppFabricService,removeApplication,#AuthToken#FlowIdentifier#,846

Before Change


    try {
      store.removeApplication(appId);
    } catch (OperationException e) {
      throw Throwables.propagate(e);
    }

    // Remove the Program jar

After Change


    try {
      appArchive.delete();
    } catch (IOException e) {
      LOG.warn(StackTraceUtil.toStringStackTrace(e));
      throw new AppFabricServiceException(e.getMessage());
    }

    // Reset metrics